package com.example.wacoffee_user.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("user")
public class User {
    @TableId
    private int id;
    private String username;
    private String password;
    private Integer gender;
    private String phone;
    private String image;
    private LocalDateTime createTime;
    private Long creator;
    private LocalDateTime updateTime;
    private Long updater;
    private double balance;
    private double point;
    private double exp;
    private int level;
    private int status;
}
